package hoyo.zqy.order.service;

import hoyo.zqy.basic.util.PageList;
import hoyo.zqy.order.domain.OrderPetAcquisition;
import hoyo.zqy.basic.service.IBaseService;
import hoyo.zqy.order.query.OrderPetAcquisitionQuery;
import hoyo.zqy.pet.dto.OrderDto;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zqy
 * @since 2022-11-18
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {

    /**
     * 进阶分页
     * @param query
     * @param request
     * @return
     */
    PageList<OrderPetAcquisition> queryList(OrderPetAcquisitionQuery query, HttpServletRequest request);

    /**
     * 确认订单
     * @param orderDto
     */
    void confirm(OrderDto orderDto);
}
